package com.neusoft.eenie.signdemo.http;

import org.xutils.common.task.Priority;
import org.xutils.http.HttpMethod;
import org.xutils.http.HttpRetryHandler;
import org.xutils.http.RequestParams;
import org.xutils.http.app.ParamsBuilder;
import org.xutils.http.app.RedirectHandler;
import org.xutils.http.body.RequestBody;

import java.io.File;
import java.io.IOException;
import java.net.Proxy;
import java.util.HashMap;
import java.util.concurrent.Executor;

import javax.net.ssl.SSLSocketFactory;

/**
 * Created by Eenie on 2016/3/22.
 */
public class TextRequest extends RequestParams {

    public TextRequest(String uri) {
        super(uri);
    }

    public TextRequest() {
        super();
    }

    public TextRequest(String uri, ParamsBuilder builder, String[] signs, String[] cacheKeys) {
        super(uri, builder, signs, cacheKeys);
    }

    @Override
    public String getUri() {
        return super.getUri();
    }

    @Override
    public String getCacheKey() {
        return super.getCacheKey();
    }

    @Override
    public void setSslSocketFactory(SSLSocketFactory sslSocketFactory) {
        super.setSslSocketFactory(sslSocketFactory);
    }

    @Override
    public SSLSocketFactory getSslSocketFactory() {
        return super.getSslSocketFactory();
    }

    @Override
    public void setMethod(HttpMethod method) {
        super.setMethod(method);
    }

    @Override
    public HttpMethod getMethod() {
        return super.getMethod();
    }

    @Override
    public void setCharset(String charset) {
        super.setCharset(charset);
    }

    @Override
    public String getCharset() {
        return super.getCharset();
    }

    @Override
    public Proxy getProxy() {
        return super.getProxy();
    }

    @Override
    public void setProxy(Proxy proxy) {
        super.setProxy(proxy);
    }

    @Override
    public Priority getPriority() {
        return super.getPriority();
    }

    @Override
    public void setPriority(Priority priority) {
        super.setPriority(priority);
    }

    @Override
    public int getConnectTimeout() {
        return super.getConnectTimeout();
    }

    @Override
    public void setConnectTimeout(int connectTimeout) {
        super.setConnectTimeout(connectTimeout);
    }

    @Override
    public String getCacheDirName() {
        return super.getCacheDirName();
    }

    @Override
    public void setCacheDirName(String cacheDirName) {
        super.setCacheDirName(cacheDirName);
    }

    @Override
    public long getCacheSize() {
        return super.getCacheSize();
    }

    @Override
    public void setCacheSize(long cacheSize) {
        super.setCacheSize(cacheSize);
    }

    @Override
    public Executor getExecutor() {
        return super.getExecutor();
    }

    @Override
    public void setExecutor(Executor executor) {
        super.setExecutor(executor);
    }

    @Override
    public boolean isAutoResume() {
        return super.isAutoResume();
    }

    @Override
    public void setAutoResume(boolean autoResume) {
        super.setAutoResume(autoResume);
    }

    @Override
    public boolean isAutoRename() {
        return super.isAutoRename();
    }

    @Override
    public void setAutoRename(boolean autoRename) {
        super.setAutoRename(autoRename);
    }

    @Override
    public String getSaveFilePath() {
        return super.getSaveFilePath();
    }

    @Override
    public void setSaveFilePath(String saveFilePath) {
        super.setSaveFilePath(saveFilePath);
    }

    @Override
    public int getMaxRetryCount() {
        return super.getMaxRetryCount();
    }

    @Override
    public void setMaxRetryCount(int maxRetryCount) {
        super.setMaxRetryCount(maxRetryCount);
    }

    @Override
    public boolean isMultipart() {
        return super.isMultipart();
    }

    @Override
    public void setMultipart(boolean multipart) {
        super.setMultipart(multipart);
    }

    @Override
    public boolean isCancelFast() {
        return super.isCancelFast();
    }

    @Override
    public void setCancelFast(boolean cancelFast) {
        super.setCancelFast(cancelFast);
    }

    @Override
    public HttpRetryHandler getHttpRetryHandler() {
        return super.getHttpRetryHandler();
    }

    @Override
    public void setHttpRetryHandler(HttpRetryHandler httpRetryHandler) {
        super.setHttpRetryHandler(httpRetryHandler);
    }

    @Override
    public RedirectHandler getRedirectHandler() {
        return super.getRedirectHandler();
    }

    @Override
    public void setRedirectHandler(RedirectHandler redirectHandler) {
        super.setRedirectHandler(redirectHandler);
    }

    @Override
    public void addHeader(String name, String value) {
        super.addHeader(name, value);
    }

    @Override
    public void addParameter(String name, Object value) {
        super.addParameter(name, value);
    }

    @Override
    public void addQueryStringParameter(String name, String value) {
        super.addQueryStringParameter(name, value);
    }

    @Override
    public void addBodyParameter(String name, String value) {
        super.addBodyParameter(name, value);
    }

    @Override
    public void addBodyParameter(String name, File value) {
        super.addBodyParameter(name, value);
    }

    @Override
    public void addBodyParameter(String name, Object value, String contentType) {
        super.addBodyParameter(name, value, contentType);
    }

    @Override
    public void addBodyParameter(String name, Object value, String contentType, String fileName) {
        super.addBodyParameter(name, value, contentType, fileName);
    }

    @Override
    public boolean isAsJsonContent() {
        return super.isAsJsonContent();
    }

    @Override
    public void setAsJsonContent(boolean asJsonContent) {
        super.setAsJsonContent(asJsonContent);
    }

    @Override
    public void setBodyContent(String content) {
        super.setBodyContent(content);
    }

    @Override
    public String getBodyContent() {
        return super.getBodyContent();
    }

    @Override
    public HashMap<String, String> getHeaders() {
        return super.getHeaders();
    }

    @Override
    public HashMap<String, String> getQueryStringParams() {
        return super.getQueryStringParams();
    }

    @Override
    public HashMap<String, String> getBodyParams() {
        return super.getBodyParams();
    }

    @Override
    public HashMap<String, Object> getFileParams() {
        return super.getFileParams();
    }

    @Override
    public HashMap<String, String> getStringParams() {
        return super.getStringParams();
    }

    @Override
    public String getStringParameter(String name) {
        return super.getStringParameter(name);
    }

    @Override
    public void clearParams() {
        super.clearParams();
    }

    @Override
    public void removeParameter(String name) {
        super.removeParameter(name);
    }

    @Override
    public void setRequestBody(RequestBody requestBody) {
        super.setRequestBody(requestBody);
    }

    @Override
    public RequestBody getRequestBody() throws IOException {
        return super.getRequestBody();
    }

    @Override
    public String toString() {
        return super.toString();
    }
}
